package com.example.canteen.service.impl;

import com.example.canteen.domain.PurchaseOrderDetails;
import com.example.canteen.mapper.PurchaseOrderDetailsMapper;
import com.example.canteen.service.PurchaseOrderDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseOrderDetailsServiceImpl implements PurchaseOrderDetailsService {
    @Autowired
    private PurchaseOrderDetailsMapper purchaseorderdetailsMapper;

    @Override
    public List<PurchaseOrderDetails> selectAllPurchaseOrderDetails() {
        return purchaseorderdetailsMapper.getAll();
    }

    @Override
    public PurchaseOrderDetails selectPurchaseOrderDetailsByID(int DetailID) {
        return null;
    }

}